package com.example.myapplication.chat;

/**
 * @ProjectName: My Application4
 * @Package: com.example.myapplication4
 * @ClassName: Tr
 * @Description: java类作用描述
 * 模拟回答
 *
 * @Author: hxj
 * @CreateDate: 2019/10/16 16:43
 * @UpdateUser: 更新者
 * @UpdateDate: 2019/10/16 16:43
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class Tr {

    public String tr(String text){

        switch (text){
            case "yi": text="1";break;
            case "er": text="2";break;
            case "san": text="3";break;
            case "si": text="4";break;
        }
        return text;
    }
}
